const {createProxyMiddleware} = require('http-proxy-middleware');
module.exports = function (app) {
  app.use(
    '/api',
    createProxyMiddleware({
      target: 'http://175.24.207.44:7003',
      // target: 'http://192.168.0.110:7001',
      changeOrigin: true,
      pathRewrite: {'^/api': ''},
    })
  );
};
